package com.yimo.btem.designpattern.state;

/**
 * 客户端：不断请求，不断更改状态
 */
public class StateClient {
    public static void main(String[] args) {

    Context context = new Context(new ConcreteStateA());

    context.request();
    context.request();
    context.request();
    context.request();
    context.request();
    }
}
